﻿using System;
using ApiGateway.Interface;

using HttpWebSocket.Model;

using RpcModular;

namespace WebSocketGateway.Interface
{
        public interface IApiSocketService
        {
                /// <summary>
                /// 授权码
                /// </summary>
                Guid? AccreditId { get; }

                /// <summary>
                /// 请求头
                /// </summary>
                RequestBody Head { get; }
                /// <summary>
                /// 身份标识
                /// </summary>
                IClientIdentity Identity { get; }
               

                /// <summary>
                /// 身份Id
                /// </summary>
                string IdentityId { get; }
                /// <summary>
                /// 服务名
                /// </summary>
                string ServiceName { get; }
                /// <summary>
                /// 会话标识
                /// </summary>
                ISession Session { get; }
                /// <summary>
                /// 用户状态
                /// </summary>
                IUserState UserState { get; }
        }
}